﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using CPPProject.CppServices.Dto;
using System;
using System.Threading.Tasks;

namespace CPPProject.CppServices
{
    public interface IT_Biz_ItemConfigHeadAppService : IAsyncCrudAppService<T_Biz_ItemConfigHeadDto, Guid, PagedResultRequestDto, UpdateT_Biz_ItemConfigHeadDto, UpdateT_Biz_ItemConfigHeadDto>
    {
        /// <summary>
        /// 获取资产配置信息
        /// </summary>
        /// <param name="nCompanyID">公司ID</param>
        /// <param name="skipCount"></param>
        /// <param name="maxResultCount"></param>
        /// <param name="cName">资产类型</param>
        /// <param name="category">资产性质（0部件-1产品）</param>
        /// <returns></returns>
        Task<PagedResultDto<T_Biz_ItemConfigHeadDto>> GetList(string nCompanyID, int skipCount = 0, int maxResultCount = 10, string cName = "", string category = "");
        /// <summary>
        /// 获取资产类型
        /// </summary>
        /// <param name="nConfigID">配置ID</param>
        /// <returns></returns>
        Task<T_Biz_ItemConfigHeadDto> GetCname(string nConfigID);
    }
}
